/* 网站统一样式 */
html{
    font-size: 14px;
}


body {
    font: 14px normal #565656 '微软雅黑';
    min-width: 1200px;
}

/* 去掉下划线 */
a{
    text-decoration: none;
    color: #565656;
}

/* 图片依据父容器等比例缩放 */
img{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

/* 取消默认盒子定义 */
ul{
    margin: 0;
    padding: 0;
}

/* 去除默认样式（前面的圆点） */
li{
    list-style-type: none;
}

header,
nav,
footer
{
    width: 100%;
    margin: 0 auto;
}

main{
    width: 1200px;
    margin: 0 auto;
}

header {

}


/* 页面头部 */
.top{
    width: 100%;
    height: 237px;
    border-bottom: 11px solid yellow;
    background-image: url(../img/nav_bg.png);
}



.top_logo_search{
    width: 1200;
    height: 167px;
    margin: 0 auto;
    position: relative;
    background-image: url(../img/top_bg1.jpg);
}

.top_logo_search img[title="材料科学与工程学院"]{
    height: 243px;

}

.search{
    position: absolute;
    top: 50px;
    right: 56px;
    width: 180px;
    height: 26px;
    padding: 0 0 0 100px;
    color: #fff;
}





/* 页面导航 */

.flex_box{
    position: absolute;
    top:133px;
    width: 70%;
    height: 80px;
   margin-left: 193px;
   margin-top: 11px;
    justify-content: space-between;
    display: flex;
    z-index: 99; 
}





.flex_box>li{
    width: 144px;
    text-align: center;
}

/* .flex_box a{
    display: block;
    font-size: 15px;
    line-height: 50px;
    color: #fff;
} */

.flex_box_a1 a{
    display: block;
    font-size: 15px;
    line-height: 46px;
    color: #fff;
    border-right: 2px solid yellow;
}



.flex_box_a2 a{
    display: block;
    font-size: 15px;
    line-height: 132px;
    color: #fff;
    z-index: 100;
    border-right: 2px solid yellow;
}

.shouye1 {
    line-height: 15px;
}

.shouye2 {
    line-height: 15px;
}

.in_li{
    overflow: hidden;
}









/* 页面主体 */

main{
    width: 1200px;
    display: flex;
    flex-wrap: wrap;
}


/* 顶部轮播图板块 */
.swiper{
    margin: 0px auto;
    height: 367px;
    width: 1100px;  
    overflow: hidden;
    background-color: #fff;
    position: relative;
    z-index: 999;
}
@keyframes video {
    0%{
        transform: translateX(0);
    }
    12.5%{
        transform: translateX(0);
    }
    25%{
        transform: translateX(-1100px);
    }
    37.5%{
        transform: translateX(-1100px);
    }
    50%{
        transform: translateX(-2200px);
    }
    62.5%{
        transform: translateX(-2200px);
    }
    75%{
        transform: translateX(-3300px);
    }
    87.5%{
        transform: translateX(-3300px);
    }
    100%{
        transform: translateX(-4400px);
    }
}

.child{
    display: flex;
    height: 367px;
    width: 5500px;
    animation:video 15s infinite;
    animation-direction:normal;
}

.child img,.child a{
    display: inline-block;
    width: 1100px;
    height: 367px;
}



/* 学院新闻 */

.content1_box img {
    width: 580px;
    height: 263px;
    margin-top: 30px;
    
}

.content1_box{
    width: 609px;
    height: 325px;
    display: flex;
    flex-direction:column ;
}

.content1_header,
.content2_header,
.content3_header,

.content5_header
{
    display: flex;
}

.content1_header a,.content2_header a{
    width: 39px;
    height: 10px;
    display: flex;
    padding: 25px 0 25px 0;
    border-bottom: 1px solid #ccc;
}

.content1_header h2{
    width: 687px;
    height: 60px;
    font-size: 20px;
    color: #333;
    border-bottom: 1px solid #ccc;
    line-height: 70px;
    margin:0 0 10px 0;
}

/* 学院新闻轮播图 */
.swiper2{
    width: 580px;
    height: 376px;
    display: flex;
}

.swiper2>img {
    width: 800px;
    height: 350px;
}

.my-class {
    width: 300px;
    
}


.content1_main{
    width: 570px;
    height: 338px;
    margin-top: -3px;
}



.content1_main>p {
    margin-left: 61px;
    text-align: center;
}



.content1_main a,
.content2_main a,
.content3_main a,
.content4_main a
{
    white-space: nowrap; /*不允许换行*/
    overflow: hidden; /*隐藏多余文本*/
    text-overflow: ellipsis; /*使用省略符号*/
    display: inline-block; /*使链接以块级元素形式的显示，方便设置宽度*/
    max-width: 280px; /*设置链接最大宽度*/
    
}

.content1_main a:hover,.content1_header>a:hover,
.content2_main a:hover,.content2_header>a:hover,
.content3_main a:hover,.content3_header>a:hover,
.content4_main a:hover,.content4_header>a:hover
{
    color: #1f7bea;
    
}

.content1_main span,
.content2_main span,
.content3_main span,
.content4_main span
{
    position: absolute;
    right: 0px;
    color: rgb(153, 153, 153);
    font-size: 12px;
}

/* 通知公告 */
.content2_box{
    width: 367px;
    height: 400px;
}

.content2_header h2{
    width: 328px;
    height: 60px;
    font-size: 20px;
    color: #333;
    border-bottom: 1px solid #ccc;
    line-height: 70px;
    margin:0 0 10px 0;
}

.content2_main{
    width: 367px;
    height: 264px;
    display: flex;
}

.content2_main>ul{
    width: 354px;
    height: 264px;
}

.content2_main>ul>li{
    width: 354px;
    height: 36px;
    line-height: 36px;
    display: flex;
    position: relative;
    padding-left: 15px;
    background: url(../imag/li.png) no-repeat left 15px;
}

.content2_main a{
    white-space: nowrap; /*不允许换行*/
    overflow: hidden; /*隐藏多余文本*/
    text-overflow: ellipsis; /*使用省略符号*/
    display: inline-block; /*使链接以块级元素形式的显示，方便设置宽度*/
    max-width: 280px; /*设置链接最大宽度*/
    
}



/* 两张过度图 */


.center-img{
    display: flex;
    width: 1100px;
    height: 90px;
    flex-wrap: wrap;
    margin:30px 0 30px 0;

}

.center-img img{
    width: 533px;
    height: 90px;
}

.jiange{
    display: flex;
    width: 34px;
    height: 90px;
}


/* 工作动态 */

.tongzhi {
    margin-right: 1px;
}
.content3_box{
    width: 300px;
    height: 300px;
}

.content3_header h2{
    width: 361px;
    height: 43px;
    font-size: 20px;
    color: #333;
    margin: 0;
    border-bottom: 1px solid #ccc;
    line-height: 43px;
}

.content3_header a,.content4_header a{
    width: 39px;
    height: 19px;
    display: flex;
    padding: 12px 0 12px 0;
    border-bottom: 1px solid #ccc;
}

.content3_main{
    width: 400px;
    height: 252px;
    display: flex;
}

.content3_main>ul{
    width: 300px;
    height: 252px;
}

.content3_main>ul>li{
    width: 320px;
    height: 36px;
    line-height: 36px;
    display: flex;
    position: relative;
    padding-left: 15px;
    margin-left: 20px;
    background: url(../imag/li.png) no-repeat left 15px;
}

.content3_main a{
    white-space: nowrap; /*不允许换行*/
    overflow: hidden; /*隐藏多余文本*/
    text-overflow: ellipsis; /*使用省略符号*/
    display: inline-block; /*使链接以块级元素形式的显示，方便设置宽度*/
    max-width: 280px; /*设置链接最大宽度*/
    
}




/* 公示 */

.content7_box {
    width: 400px;
    height: 250px;
    margin-right: 1px;
}

.content4_box{
    width: 400px;
    height: 250px;
}

.container {  
    text-decoration: underline; /* 在文本下方添加一个下划线 */  
    color: red; /* 将下划线的颜色设置为红色 */  
  }

.content4_header_1
{
    width:100px ;
    height: 45px;
    background-color: #E41b20;
    text-align: center;
}

.red-underline {
    text-decoration: underline;
    color: red;
}

.content8_header {
    background-color: #f8f8f8;
    border-bottom: 2px solid red;
    margin-right: -78px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content8_header h2 {
    width: 100px;
    height: 45px;
    font-size: 15px;
    color:#fff;
    margin: 0;
    border-bottom: 1px solid #ccc;
    line-height: 43px;
}

.content4_header {
    background-color: #f8f8f8;
    border-bottom: 2px solid red;
    margin-right: 20px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content4_header h2{
    width: 100px;
    height: 45px;
    font-size: 15px;
    color:#fff;
    margin: 0;
    border-bottom: 1px solid #ccc;
    line-height: 43px;
}

.tongzhi {
    background-color:#f8f8f8;
    margin-right: 200px;

}

.tongzhi h2 {
    color: #333;
    font-size: 17px;
    margin-left: -75px;
}



.content4_header div {
    float: left;
    width: 30%;

}

.content4_header_2 {
    width: 200px;
    color: #ccc;
}

.content4_header a {

    color: rgb(228, 27, 32);
    font-weight: bold;
    float: right;
    width: 20%;
    margin-right: 20px;
    
}

.content4_main,
.content2_main
{
    width: 400px;
    height: 200px;
    display: flex;
}

.content4_main>ul,
.content2_main>ul
{
    width: 300px;
    height: 200px;
    justify-content:space-between;
    flex: content;
}



.content4_main>ul>li{
    width: 320px;
    height: 36px;
    line-height: 36px;
    display: flex;
    margin-right: 20px;
    border-bottom: 1px solid rgb(238, 238, 238);
    position: relative;
    padding-left: 15px;
    background: url(../imag/li.png) no-repeat left 15px;
}

.content2_main>ul>li {
    width: 467px;
    height: 36px;
    line-height: 36px;
    display: flex;
    margin-right: 20px;
    border-bottom: 1px solid rgb(238, 238, 238);
    position: relative;
    padding-left: 15px;
    background: url(../imag/li.png) no-repeat left 15px;
}

.content4_main a,
.content2_main a
{
    white-space: nowrap; /*不允许换行*/
    overflow: hidden; /*隐藏多余文本*/
    text-overflow: ellipsis; /*使用省略符号*/
    display: inline-block; /*使链接以块级元素形式的显示，方便设置宽度*/
    max-width: 280px; /*设置链接最大宽度*/
    
}


/* 快速通道 */

.content5_box{
    width: 1200px;
    height: 80px;
}

.container {  
    text-decoration: underline; /* 在文本下方添加一个下划线 */  
    color: red; /* 将下划线的颜色设置为红色 */  
  }

.content5_header_1
{
    width:100px ;
    height: 45px;
    background-color: #E41b20;
    text-align: center;
}

.red-underline {
    text-decoration: underline;
    color: red;
}

.content5_header {
    background-color: #f8f8f8;
    border-bottom: 2px solid red;
    margin-top: 33px;
    margin-right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content5_header h2{
    margin-top: 1px;
    width: 100px;
    height: 45px;
    font-size: 15px;
    color:#fff;

    border-bottom: 1px solid #ccc;
    line-height: 43px;
}
/* 
.content5_main img {
    width: 250px;
    height: 80;
    margin-top: 5px;
    margin-right: 5px;
} */

.content5_main{
    width: 800px;
    height: 100px;
    

}

.content6_box {
    width: 1200px;
    height: 90px;
}




/* 页面底部 */

footer{
    align-items: center;
    background: rgb(237, 57, 50);
    color: #fff;
    width: 100%;
    height: 109px;
    margin-top: 20px;
    position: relative;
}

.content_footer{
    background-color: rgb(237, 57, 50);
    margin-top: 160px;
    width: 1100px;
    height: 108px;
    margin: 0 auto;
    display: flex;
}

address{
    display: flex;
    width: 872px;
    height: 40px;
    flex-wrap: wrap;
    font-style: normal;
}




address ul{
    display: flex;
    width: 684px;
    flex-wrap: wrap;
    margin-top: 20px;
}



.img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.content_footer>ul{
    margin-top: 40px;
    
    width: 228px;
    height: 40px;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
}

.w {
    display: flex;
    margin-top: 16px;
}
